package com.dyh.quickdemo.tc;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/*
@Author=Joey Wheeler
@Date=2021/4/7 9:56
*/
@Service
@Slf4j
public class Beta {

    @Transactional
    public void b(){
        log.info("b...");
        if (1==1)
            throw new RuntimeException("run ex in b");
    }
}
